package com.project.weather.pojo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;

/**
 *<p>Title:SearchCityBean.java</p>
 *<p>Description:城市查询信息表 Bean(对应表名:wea_search_city)</p>
 *@author xxx
 *@version 1.0
 *@Automatically generate by Coder in 2021-12-21 16:07
 */
public class SearchCityBean implements Serializable {
	private static final long serialVersionUID = 1L;
    private Integer id;		//
    private String city_id;		//城市ID
    private String city_name;		//城市名
    private Integer user_id;		//查询人Id
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh",timezone="GMT+8")
    private Date search_time;		//查询时间

	private Integer search_count;	//查询次数

	/**
	*<b>Summary:设置</b>
	* setId
	* @param id
	*/
    public void setId(Integer id){
    	this.id = id;
    }
    /**
	*<b>Summary:获取</b>
	* getId
	* @return
	*/
    public Integer getId(){
    	return id;
    }
    
	/**
	*<b>Summary:设置城市ID</b>
	* setCity_id
	* @param city_id
	*/
    public void setCity_id(String city_id){
    	this.city_id = city_id;
    }
    /**
	*<b>Summary:获取城市ID</b>
	* getCity_id
	* @return
	*/
    public String getCity_id(){
    	return city_id;
    }
    
	/**
	*<b>Summary:设置城市名</b>
	* setCity_name
	* @param city_name
	*/
    public void setCity_name(String city_name){
    	this.city_name = city_name;
    }
    /**
	*<b>Summary:获取城市名</b>
	* getCity_name
	* @return
	*/
    public String getCity_name(){
    	return city_name;
    }
    
	/**
	*<b>Summary:设置查询人Id</b>
	* setUser_id
	* @param user_id
	*/
    public void setUser_id(Integer user_id){
    	this.user_id = user_id;
    }
    /**
	*<b>Summary:获取查询人Id</b>
	* getUser_id
	* @return
	*/
    public Integer getUser_id(){
    	return user_id;
    }
    
	/**
	*<b>Summary:设置查询时间</b>
	* setSearch_time
	* @param search_time
	*/
    public void setSearch_time(Date search_time){
    	this.search_time = search_time;
    }
    /**
	*<b>Summary:获取查询时间</b>
	* getSearch_time
	* @return
	*/
    public Date getSearch_time(){
    	return search_time;
    }

	public Integer getSearch_count() {
		return search_count;
	}

	public void setSearch_count(Integer search_count) {
		this.search_count = search_count;
	}
}